﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="classify.aspx.cs" Inherits="web.Products.classify" %>
<%@ Import Namespace="PRO.Common" %>
<%@ Import Namespace="PRO.Config" %>


<%@ Register Src="~/ErrorControl.ascx" TagPrefix="uc1" TagName="ErrorControl" %>
<%@ Register Src="~/UserControls/ClassNAV.ascx" TagPrefix="uc1" TagName="ClassNAV" %>


<%@ Register assembly="PRO.Controls" namespace="PRO.Controls" tagprefix="cc1" %>
<%@ Register TagPrefix="url" Namespace="ActionlessForm" Assembly="ActionlessForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
        <script type="text/javascript" src="/scripts/DoCallback.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
     <url:Form id="form1" runat="server">
     <%if(error){ %>
    <uc1:ErrorControl runat="server" ID="ErrorControl" />
    <%} else{%>
       <uc1:ClassNAV runat="server" ID="ClassNAV" />
        
         <ul>
    <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
            <li><img src="<%#Eval("icon") %>" /><a href="/product/item/<%#Eval("id").DEC_Encode(BaseConfigs.DEC_KEY) %>"><%#Eval("title") %></a>
                <input type="button" class="favorite_add_btn" data-code="<%#Eval("id").DEC_Encode(BaseConfigs.DEC_KEY) %>" value="加入愿望盒" />
                <input type="button" class="shoppcard_add_btn" data-code="<%#Eval("id").DEC_Encode(BaseConfigs.DEC_KEY) %>" value="加入购物车" />
            </li>
        </ItemTemplate>
    </asp:Repeater></ul>
         <cc1:Pager ID="Pager1" runat="server" />
    <%} %>
     </url:Form>
</asp:Content>
